From 70358bbe1dc672700cbb8800d55a004175aee409 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Thu, 14 Sep 2017 21:24:22 +0200 Subject: [PATCH] tests: make babl build on haiku Using -lphtread instead of -pthread in Makefile.am fixes the build when using gcc-x86 under haiku, figured out by schumaml. --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 4c3841f..ac46eb7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -35,7 +35,7 @@ TESTS_ENVIRONMENT = LD_LIBRARY_PATH=$(top_builddir)/babl:$LD_LIBRARY_PATH GI_TYP AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl if OS_UNIX -AM_LDFLAGS = -pthread +AM_LDFLAGS = -lpthread endif LDADD = $(top_builddir)/babl/libbabl-@BABL_API_VERSION@.la \ -- 2.30.2